<script src="{{ asset('js/jquery.js') }}" type="text/javascript"></script>
<script src="{{ asset('bootstrap/js/bootstrap.min.js') }}" type="text/javascript"></script>
<script src="{{ asset('js/jquery.flexslider-min.js') }}" type="text/javascript"></script>
<script src="{{ asset('js/jquery.contenthover.min.js') }}" type="text/javascript"></script>
<script src="{{ asset('js/main.js') }}" type="text/javascript"></script>



<script>
    
var indicator = 0;
var isLoad = 0;

function nextStep()
{

  jQuery('form:first').submit();

}


function getQuestion()
{
    if(indicator == 0){

    if(isLoad == 0){
    jQuery.ajax({
            type: 'post',
            url: "{{ path('getQuestion') }}",            
            success: function (msg) {              
              jQuery("#accordinInner").html(msg);
            }
          });
    isLoad = 1;    
    }

    indicator = 1;
          
    }else{
        indicator = 0;
    }
}

  </script>